/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.principles.ADP.violateADP.config;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.principles.ADP.violateADP.violateADP.IviolateADP;
import za.ac.cput.principles.ADP.violateADP.violateADP.impl.Herbivore;
/**
 *
 * @author Dwayne
 */
@Configurable
public class AppConfig 
{
     @Bean(name = "ADP")
    public IviolateADP IviolateADP() 
    {
        return new Herbivore();
    }

    @Bean
    public IviolateADP newADP() 
    {
        return new Herbivore();
    }

    @Bean(name = "NADP")
    public IviolateADP Herbivore()
    {
        return new Herbivore();
    }
}
